/*
package com.anyou.mall.goo.controller;

import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.anyou.common.annotation.Log;
import com.anyou.common.core.controller.BaseController;
import com.anyou.common.core.domain.ApiResult;
import com.anyou.common.enums.BusinessType;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import com.anyou.mall.goo.domain.GoodsCouponRelation;
import com.anyou.mall.goo.service.IGoodsCouponRelationService;
import com.anyou.common.utils.poi.ExcelUtil;
import com.anyou.common.core.page.TableDataInfo;

*/
/**
 * 汽配商和优惠券的关系Controller
 *
 * @author gaochaohao
 * @date 2022-04-11
 *//*

@Api(tags = "汽配商和优惠券的关系")
@RestController
@RequestMapping("/goo/goodsCouponRelation")
public class GoodsCouponRelationController extends BaseController
{
    @Autowired
    private IGoodsCouponRelationService goodsCouponRelationService;

    */
/**
     * 查询汽配商和优惠券的关系列表
     *//*

    @ApiOperation("查询汽配商和优惠券的关系列表")
    @PreAuthorize("@ss.hasPermi('goo:goodsCouponRelation:list')")
    @GetMapping("/list")
    public TableDataInfo<List<GoodsCouponRelation>> list(GoodsCouponRelation goodsCouponRelation)
    {
        startPage();
        List<GoodsCouponRelation> list = goodsCouponRelationService.selectGoodsCouponRelationList(goodsCouponRelation);
        return getDataTable(list);
    }

    */
/**
     * 导出汽配商和优惠券的关系列表
     *//*

    @ApiOperation("导出汽配商和优惠券的关系列表")
    @PreAuthorize("@ss.hasPermi('goo:goodsCouponRelation:export')")
    @Log(title = "汽配商和优惠券的关系", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, GoodsCouponRelation goodsCouponRelation)
    {
        List<GoodsCouponRelation> list = goodsCouponRelationService.selectGoodsCouponRelationList(goodsCouponRelation);
        ExcelUtil<GoodsCouponRelation> util = new ExcelUtil<GoodsCouponRelation>(GoodsCouponRelation.class);
        util.exportExcel(response, list, "汽配商和优惠券的关系数据");
    }

    */
/**
     * 获取汽配商和优惠券的关系详细信息
     *//*

    @ApiOperation("获取汽配商和优惠券的关系详细信息")
    @PreAuthorize("@ss.hasPermi('goo:goodsCouponRelation:query')")
    @GetMapping(value = "/{gooGoodsCouponRelationId}")
    public ApiResult<GoodsCouponRelation> getInfo(@PathVariable("gooGoodsCouponRelationId") Long gooGoodsCouponRelationId)
    {
        return ApiResult.success(goodsCouponRelationService.selectGoodsCouponRelationByGooGoodsCouponRelationId(gooGoodsCouponRelationId));
    }

    */
/**
     * 新增汽配商和优惠券的关系
     *//*

    @ApiOperation("新增汽配商和优惠券的关系")
    @PreAuthorize("@ss.hasPermi('goo:goodsCouponRelation:add')")
    @Log(title = "汽配商和优惠券的关系", businessType = BusinessType.INSERT)
    @PostMapping
    public ApiResult add(@RequestBody GoodsCouponRelation goodsCouponRelation)
    {
        return ApiResult.success(goodsCouponRelationService.insertGoodsCouponRelation(goodsCouponRelation));
    }

    */
/**
     * 修改汽配商和优惠券的关系
     *//*

    @ApiOperation("修改汽配商和优惠券的关系")
    @PreAuthorize("@ss.hasPermi('goo:goodsCouponRelation:edit')")
    @Log(title = "汽配商和优惠券的关系", businessType = BusinessType.UPDATE)
    @PutMapping
    public ApiResult edit(@RequestBody GoodsCouponRelation goodsCouponRelation)
    {
        return ApiResult.success(goodsCouponRelationService.updateGoodsCouponRelation(goodsCouponRelation));
    }

    */
/**
     * 删除汽配商和优惠券的关系
     *//*

    @ApiOperation("删除汽配商和优惠券的关系")
    @PreAuthorize("@ss.hasPermi('goo:goodsCouponRelation:remove')")
    @Log(title = "汽配商和优惠券的关系", businessType = BusinessType.DELETE)
    @DeleteMapping("/{gooGoodsCouponRelationIds}")
    public ApiResult remove(@PathVariable Long[] gooGoodsCouponRelationIds)
    {
        return ApiResult.success(goodsCouponRelationService.deleteGoodsCouponRelationByGooGoodsCouponRelationIds(gooGoodsCouponRelationIds));
    }
}
*/
